adTempus API
PreviousUpNext
IADTObjectCollection::Contains Method

Indicates whether the collection contains the specified object

C++
HRESULT Contains(BSTR oid, [out,retval] VARIANT_BOOL * contains);
C#
Contains(String oid, [out,retval] VARIANT_BOOL contains);
Visual Basic
Sub Contains(oid As String, contains As [out,retval] VARIANT_BOOL)
Parameters 
Description 
[in] BSTR oid 
The OID of the object to check for. 

True if the collection contains the object with the specified OID; False otherwise.

adTempus API Reference version 3.0.0.0, revised 10/30/2008